import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/guild_income_detail_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/guild_income_detail_entity.g.dart';

@JsonSerializable()
class GuildIncomeDetailEntity {
	String? totalInput;
	List<GuildIncomeDetailList>? list;

	GuildIncomeDetailEntity();

	factory GuildIncomeDetailEntity.fromJson(Map<String, dynamic> json) => $GuildIncomeDetailEntityFromJson(json);

	Map<String, dynamic> toJson() => $GuildIncomeDetailEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GuildIncomeDetailList {
	String? id;
	String? income;
	int? cycle;
	String? ratio;

	GuildIncomeDetailList();

	factory GuildIncomeDetailList.fromJson(Map<String, dynamic> json) => $GuildIncomeDetailListFromJson(json);

	Map<String, dynamic> toJson() => $GuildIncomeDetailListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}